package com.ruoyi.app.domain;

import java.io.Serializable;

/**
 * x就诊人表
 * @TableName patient
 */
public class Patient implements Serializable {
    /**
     * 就诊人ID
     */
    private Long id;

    /**
     * 就诊人姓名
     */
    private String name;

    /**
     * 与用户关系：本人、父母、子女等
     */
    private Integer relation;
    private String relationName;

    /**
     * 证件类型：身份证、护照等
     */
    private Integer idType;
    private String idTypeName;
    /**
     * 证件号码
     */
    private String idCard;

    /**
     * 就诊卡号
     */
    private String cardNo;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 就诊人地址
     */
    private String address;

    /**
     * 是否默认就诊人：0否，1是
     */
    private Integer isDefault;

    /**
     * 用户外键
     */
    private Integer userId;

    /**
     * 
     */
    private Integer hospitalAreaId;
    private String hospitalName;

    /**
     * 
     */
    private Integer departmentId;
    private String departmentIName;

    /**
     * 
     */
    private Integer doctorId;

    /**
     * 
     */
    private Integer titleId;

    @Override
    public String toString() {
        return "Patient{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", relation=" + relation +
                ", relationName='" + relationName + '\'' +
                ", idType=" + idType +
                ", idTypeName='" + idTypeName + '\'' +
                ", idCard='" + idCard + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", isDefault=" + isDefault +
                ", userId=" + userId +
                ", hospitalAreaId=" + hospitalAreaId +
                ", hospitalName='" + hospitalName + '\'' +
                ", departmentId=" + departmentId +
                ", departmentIName='" + departmentIName + '\'' +
                ", doctorId=" + doctorId +
                ", titleId=" + titleId +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRelation() {
        return relation;
    }

    public void setRelation(Integer relation) {
        this.relation = relation;
    }

    public String getRelationName() {
        return relationName;
    }

    public void setRelationName(String relationName) {
        this.relationName = relationName;
    }

    public Integer getIdType() {
        return idType;
    }

    public void setIdType(Integer idType) {
        this.idType = idType;
    }

    public String getIdTypeName() {
        return idTypeName;
    }

    public void setIdTypeName(String idTypeName) {
        this.idTypeName = idTypeName;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getHospitalAreaId() {
        return hospitalAreaId;
    }

    public void setHospitalAreaId(Integer hospitalAreaId) {
        this.hospitalAreaId = hospitalAreaId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentIName() {
        return departmentIName;
    }

    public void setDepartmentIName(String departmentIName) {
        this.departmentIName = departmentIName;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getTitleId() {
        return titleId;
    }

    public void setTitleId(Integer titleId) {
        this.titleId = titleId;
    }
}